#include "dominion.h"
#include "dominion_helpers.h"
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include "rngs.h"

int main(int argc, char **argv)
{
	int i, j;
	int flag = 0;
	struct gameState state;
	
	for(i = 0; i < MAX_PLAYERS; i++)
	{
		state.whoseTurn = i;
		
		for(j = 0; j < MAX_HAND; j++)
		{
			state.handCount[i] = j;
			
			if(numHandCards(&state) != j)
			{
				printf("Unittest 2: Error w/ %d card hand for Player %d\n", j, i+1);
				flag++;
			}
		}
	
	}
	
	printf("Unittest2: function numHandCards() returned %d error(s).\n", flag);

	return 0;

}